<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 表单数据提交的地址 method提交方法get/post  form是全部刷新   ajax局部刷新-->
    <form action="XXXX" method="POST">
        <!-- 单行文本框 -->
        用户名：<input type="text" name="username">
        密码：<input type="password" name="password">
        <button>提交</button>
    </form>
</body>
</html>